﻿using Coder.Workflow;
using Fee.Orders.PreWorkflow;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace Fee.Mapping.Orders.PreDesignOrder
{
    public class PreDelegateWorkTaskMapping : IEntityTypeConfiguration<PreDelegateWorkTask>
    {
        public void Configure(EntityTypeBuilder<PreDelegateWorkTask> builder)
        {
            builder.HasBaseType<WorkTask>();
            builder.Property(f => f.CanChangedDesigner);
        }
    }
}